package com.pureut.system.domain.dto;

import com.pureut.system.domain.MaterialBomBehalf;

import java.util.List;

/**
 * @Description bom 明细数据
 * @Param
 * @Date 22-12-12
 * @Author hl
 **/
public class MaterialBomDetailDto {

    /** id */
    private long bomDetailId;

    /** 物料类型 */
    private String bomDetailType;

    /** 物料编码 */
    private String materialCode;

    /** 物料名称 */
    private String materialName;

    /** 物料规格 */
    private String materialSpec;

    /** 物料单位 */
    private String materialUnit;

    /** 物料单位字典 */
    private String materialUnitDict;

    /** 用量 */
    private int bomDetailDosage;

    /** 替代料 */
    private int bomDetailAlternative;

    /** 物料id */
    private long bomMaterialId;

    /** bomId */
    private long bomId;

    private double inventory;

    /**
     * 所需重量
     */
    private double requiredWeight;

    /**
     * 库存重量
     */
    private double inventoryWeight;

    public double getRequiredWeight() {
        return requiredWeight;
    }

    public void setRequiredWeight(double requiredWeight) {
        this.requiredWeight = requiredWeight;
    }

    public double getInventoryWeight() {
        return inventoryWeight;
    }

    public void setInventoryWeight(double inventoryWeight) {
        this.inventoryWeight = inventoryWeight;
    }


    public double getInventory() {
        return inventory;
    }

    public void setInventory(double inventory) {
        this.inventory = inventory;
    }

    private List<MaterialBomBehalf> child;

    public String getMaterialUnitDict() {
        return materialUnitDict;
    }

    public void setMaterialUnitDict(String materialUnitDict) {
        this.materialUnitDict = materialUnitDict;
    }

    public List<MaterialBomBehalf> getChild() {
        return child;
    }

    public void setChild(List<MaterialBomBehalf> child) {
        this.child = child;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialSpec() {
        return materialSpec;
    }

    public void setMaterialSpec(String materialSpec) {
        this.materialSpec = materialSpec;
    }

    public String getMaterialUnit() {
        return materialUnit;
    }

    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit;
    }

    public long getBomDetailId() {
        return bomDetailId;
    }

    public void setBomDetailId(long bomDetailId) {
        this.bomDetailId = bomDetailId;
    }

    public String getBomDetailType() {
        return bomDetailType;
    }

    public void setBomDetailType(String bomDetailType) {
        this.bomDetailType = bomDetailType;
    }

    public int getBomDetailDosage() {
        return bomDetailDosage;
    }

    public void setBomDetailDosage(int bomDetailDosage) {
        this.bomDetailDosage = bomDetailDosage;
    }

    public int getBomDetailAlternative() {
        return bomDetailAlternative;
    }

    public void setBomDetailAlternative(int bomDetailAlternative) {
        this.bomDetailAlternative = bomDetailAlternative;
    }

    public long getBomMaterialId() {
        return bomMaterialId;
    }

    public void setBomMaterialId(long bomMaterialId) {
        this.bomMaterialId = bomMaterialId;
    }

    public long getBomId() {
        return bomId;
    }

    public void setBomId(long bomId) {
        this.bomId = bomId;
    }
}
